package com.bzy.blp.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TDrillingCriteria {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TDrillingCriteria() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPileIdIsNull() {
            addCriterion("pile_id is null");
            return (Criteria) this;
        }

        public Criteria andPileIdIsNotNull() {
            addCriterion("pile_id is not null");
            return (Criteria) this;
        }

        public Criteria andPileIdEqualTo(Integer value) {
            addCriterion("pile_id =", value, "pileId");
            return (Criteria) this;
        }

        public Criteria andPileIdNotEqualTo(Integer value) {
            addCriterion("pile_id <>", value, "pileId");
            return (Criteria) this;
        }

        public Criteria andPileIdGreaterThan(Integer value) {
            addCriterion("pile_id >", value, "pileId");
            return (Criteria) this;
        }

        public Criteria andPileIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("pile_id >=", value, "pileId");
            return (Criteria) this;
        }

        public Criteria andPileIdLessThan(Integer value) {
            addCriterion("pile_id <", value, "pileId");
            return (Criteria) this;
        }

        public Criteria andPileIdLessThanOrEqualTo(Integer value) {
            addCriterion("pile_id <=", value, "pileId");
            return (Criteria) this;
        }

        public Criteria andPileIdIn(List<Integer> values) {
            addCriterion("pile_id in", values, "pileId");
            return (Criteria) this;
        }

        public Criteria andPileIdNotIn(List<Integer> values) {
            addCriterion("pile_id not in", values, "pileId");
            return (Criteria) this;
        }

        public Criteria andPileIdBetween(Integer value1, Integer value2) {
            addCriterion("pile_id between", value1, value2, "pileId");
            return (Criteria) this;
        }

        public Criteria andPileIdNotBetween(Integer value1, Integer value2) {
            addCriterion("pile_id not between", value1, value2, "pileId");
            return (Criteria) this;
        }

        public Criteria andDrillingNoIsNull() {
            addCriterion("drilling_no is null");
            return (Criteria) this;
        }

        public Criteria andDrillingNoIsNotNull() {
            addCriterion("drilling_no is not null");
            return (Criteria) this;
        }

        public Criteria andDrillingNoEqualTo(String value) {
            addCriterion("drilling_no =", value, "drillingNo");
            return (Criteria) this;
        }

        public Criteria andDrillingNoNotEqualTo(String value) {
            addCriterion("drilling_no <>", value, "drillingNo");
            return (Criteria) this;
        }

        public Criteria andDrillingNoGreaterThan(String value) {
            addCriterion("drilling_no >", value, "drillingNo");
            return (Criteria) this;
        }

        public Criteria andDrillingNoGreaterThanOrEqualTo(String value) {
            addCriterion("drilling_no >=", value, "drillingNo");
            return (Criteria) this;
        }

        public Criteria andDrillingNoLessThan(String value) {
            addCriterion("drilling_no <", value, "drillingNo");
            return (Criteria) this;
        }

        public Criteria andDrillingNoLessThanOrEqualTo(String value) {
            addCriterion("drilling_no <=", value, "drillingNo");
            return (Criteria) this;
        }

        public Criteria andDrillingNoLike(String value) {
            addCriterion("drilling_no like", value, "drillingNo");
            return (Criteria) this;
        }

        public Criteria andDrillingNoNotLike(String value) {
            addCriterion("drilling_no not like", value, "drillingNo");
            return (Criteria) this;
        }

        public Criteria andDrillingNoIn(List<String> values) {
            addCriterion("drilling_no in", values, "drillingNo");
            return (Criteria) this;
        }

        public Criteria andDrillingNoNotIn(List<String> values) {
            addCriterion("drilling_no not in", values, "drillingNo");
            return (Criteria) this;
        }

        public Criteria andDrillingNoBetween(String value1, String value2) {
            addCriterion("drilling_no between", value1, value2, "drillingNo");
            return (Criteria) this;
        }

        public Criteria andDrillingNoNotBetween(String value1, String value2) {
            addCriterion("drilling_no not between", value1, value2, "drillingNo");
            return (Criteria) this;
        }

        public Criteria andEndHoleDepthIsNull() {
            addCriterion("end_hole_depth is null");
            return (Criteria) this;
        }

        public Criteria andEndHoleDepthIsNotNull() {
            addCriterion("end_hole_depth is not null");
            return (Criteria) this;
        }

        public Criteria andEndHoleDepthEqualTo(BigDecimal value) {
            addCriterion("end_hole_depth =", value, "endHoleDepth");
            return (Criteria) this;
        }

        public Criteria andEndHoleDepthNotEqualTo(BigDecimal value) {
            addCriterion("end_hole_depth <>", value, "endHoleDepth");
            return (Criteria) this;
        }

        public Criteria andEndHoleDepthGreaterThan(BigDecimal value) {
            addCriterion("end_hole_depth >", value, "endHoleDepth");
            return (Criteria) this;
        }

        public Criteria andEndHoleDepthGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("end_hole_depth >=", value, "endHoleDepth");
            return (Criteria) this;
        }

        public Criteria andEndHoleDepthLessThan(BigDecimal value) {
            addCriterion("end_hole_depth <", value, "endHoleDepth");
            return (Criteria) this;
        }

        public Criteria andEndHoleDepthLessThanOrEqualTo(BigDecimal value) {
            addCriterion("end_hole_depth <=", value, "endHoleDepth");
            return (Criteria) this;
        }

        public Criteria andEndHoleDepthIn(List<BigDecimal> values) {
            addCriterion("end_hole_depth in", values, "endHoleDepth");
            return (Criteria) this;
        }

        public Criteria andEndHoleDepthNotIn(List<BigDecimal> values) {
            addCriterion("end_hole_depth not in", values, "endHoleDepth");
            return (Criteria) this;
        }

        public Criteria andEndHoleDepthBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("end_hole_depth between", value1, value2, "endHoleDepth");
            return (Criteria) this;
        }

        public Criteria andEndHoleDepthNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("end_hole_depth not between", value1, value2, "endHoleDepth");
            return (Criteria) this;
        }

        public Criteria andAActualPileLengthIsNull() {
            addCriterion("a_actual_pile_length is null");
            return (Criteria) this;
        }

        public Criteria andAActualPileLengthIsNotNull() {
            addCriterion("a_actual_pile_length is not null");
            return (Criteria) this;
        }

        public Criteria andAActualPileLengthEqualTo(BigDecimal value) {
            addCriterion("a_actual_pile_length =", value, "aActualPileLength");
            return (Criteria) this;
        }

        public Criteria andAActualPileLengthNotEqualTo(BigDecimal value) {
            addCriterion("a_actual_pile_length <>", value, "aActualPileLength");
            return (Criteria) this;
        }

        public Criteria andAActualPileLengthGreaterThan(BigDecimal value) {
            addCriterion("a_actual_pile_length >", value, "aActualPileLength");
            return (Criteria) this;
        }

        public Criteria andAActualPileLengthGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("a_actual_pile_length >=", value, "aActualPileLength");
            return (Criteria) this;
        }

        public Criteria andAActualPileLengthLessThan(BigDecimal value) {
            addCriterion("a_actual_pile_length <", value, "aActualPileLength");
            return (Criteria) this;
        }

        public Criteria andAActualPileLengthLessThanOrEqualTo(BigDecimal value) {
            addCriterion("a_actual_pile_length <=", value, "aActualPileLength");
            return (Criteria) this;
        }

        public Criteria andAActualPileLengthIn(List<BigDecimal> values) {
            addCriterion("a_actual_pile_length in", values, "aActualPileLength");
            return (Criteria) this;
        }

        public Criteria andAActualPileLengthNotIn(List<BigDecimal> values) {
            addCriterion("a_actual_pile_length not in", values, "aActualPileLength");
            return (Criteria) this;
        }

        public Criteria andAActualPileLengthBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("a_actual_pile_length between", value1, value2, "aActualPileLength");
            return (Criteria) this;
        }

        public Criteria andAActualPileLengthNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("a_actual_pile_length not between", value1, value2, "aActualPileLength");
            return (Criteria) this;
        }

        public Criteria andConcreteLengthIsNull() {
            addCriterion("concrete_length is null");
            return (Criteria) this;
        }

        public Criteria andConcreteLengthIsNotNull() {
            addCriterion("concrete_length is not null");
            return (Criteria) this;
        }

        public Criteria andConcreteLengthEqualTo(BigDecimal value) {
            addCriterion("concrete_length =", value, "concreteLength");
            return (Criteria) this;
        }

        public Criteria andConcreteLengthNotEqualTo(BigDecimal value) {
            addCriterion("concrete_length <>", value, "concreteLength");
            return (Criteria) this;
        }

        public Criteria andConcreteLengthGreaterThan(BigDecimal value) {
            addCriterion("concrete_length >", value, "concreteLength");
            return (Criteria) this;
        }

        public Criteria andConcreteLengthGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("concrete_length >=", value, "concreteLength");
            return (Criteria) this;
        }

        public Criteria andConcreteLengthLessThan(BigDecimal value) {
            addCriterion("concrete_length <", value, "concreteLength");
            return (Criteria) this;
        }

        public Criteria andConcreteLengthLessThanOrEqualTo(BigDecimal value) {
            addCriterion("concrete_length <=", value, "concreteLength");
            return (Criteria) this;
        }

        public Criteria andConcreteLengthIn(List<BigDecimal> values) {
            addCriterion("concrete_length in", values, "concreteLength");
            return (Criteria) this;
        }

        public Criteria andConcreteLengthNotIn(List<BigDecimal> values) {
            addCriterion("concrete_length not in", values, "concreteLength");
            return (Criteria) this;
        }

        public Criteria andConcreteLengthBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("concrete_length between", value1, value2, "concreteLength");
            return (Criteria) this;
        }

        public Criteria andConcreteLengthNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("concrete_length not between", value1, value2, "concreteLength");
            return (Criteria) this;
        }

        public Criteria andPileConcreteYieldIsNull() {
            addCriterion("pile_concrete_yield is null");
            return (Criteria) this;
        }

        public Criteria andPileConcreteYieldIsNotNull() {
            addCriterion("pile_concrete_yield is not null");
            return (Criteria) this;
        }

        public Criteria andPileConcreteYieldEqualTo(BigDecimal value) {
            addCriterion("pile_concrete_yield =", value, "pileConcreteYield");
            return (Criteria) this;
        }

        public Criteria andPileConcreteYieldNotEqualTo(BigDecimal value) {
            addCriterion("pile_concrete_yield <>", value, "pileConcreteYield");
            return (Criteria) this;
        }

        public Criteria andPileConcreteYieldGreaterThan(BigDecimal value) {
            addCriterion("pile_concrete_yield >", value, "pileConcreteYield");
            return (Criteria) this;
        }

        public Criteria andPileConcreteYieldGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("pile_concrete_yield >=", value, "pileConcreteYield");
            return (Criteria) this;
        }

        public Criteria andPileConcreteYieldLessThan(BigDecimal value) {
            addCriterion("pile_concrete_yield <", value, "pileConcreteYield");
            return (Criteria) this;
        }

        public Criteria andPileConcreteYieldLessThanOrEqualTo(BigDecimal value) {
            addCriterion("pile_concrete_yield <=", value, "pileConcreteYield");
            return (Criteria) this;
        }

        public Criteria andPileConcreteYieldIn(List<BigDecimal> values) {
            addCriterion("pile_concrete_yield in", values, "pileConcreteYield");
            return (Criteria) this;
        }

        public Criteria andPileConcreteYieldNotIn(List<BigDecimal> values) {
            addCriterion("pile_concrete_yield not in", values, "pileConcreteYield");
            return (Criteria) this;
        }

        public Criteria andPileConcreteYieldBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pile_concrete_yield between", value1, value2, "pileConcreteYield");
            return (Criteria) this;
        }

        public Criteria andPileConcreteYieldNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pile_concrete_yield not between", value1, value2, "pileConcreteYield");
            return (Criteria) this;
        }

        public Criteria andSedimentThicknessIsNull() {
            addCriterion("sediment_thickness is null");
            return (Criteria) this;
        }

        public Criteria andSedimentThicknessIsNotNull() {
            addCriterion("sediment_thickness is not null");
            return (Criteria) this;
        }

        public Criteria andSedimentThicknessEqualTo(BigDecimal value) {
            addCriterion("sediment_thickness =", value, "sedimentThickness");
            return (Criteria) this;
        }

        public Criteria andSedimentThicknessNotEqualTo(BigDecimal value) {
            addCriterion("sediment_thickness <>", value, "sedimentThickness");
            return (Criteria) this;
        }

        public Criteria andSedimentThicknessGreaterThan(BigDecimal value) {
            addCriterion("sediment_thickness >", value, "sedimentThickness");
            return (Criteria) this;
        }

        public Criteria andSedimentThicknessGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sediment_thickness >=", value, "sedimentThickness");
            return (Criteria) this;
        }

        public Criteria andSedimentThicknessLessThan(BigDecimal value) {
            addCriterion("sediment_thickness <", value, "sedimentThickness");
            return (Criteria) this;
        }

        public Criteria andSedimentThicknessLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sediment_thickness <=", value, "sedimentThickness");
            return (Criteria) this;
        }

        public Criteria andSedimentThicknessIn(List<BigDecimal> values) {
            addCriterion("sediment_thickness in", values, "sedimentThickness");
            return (Criteria) this;
        }

        public Criteria andSedimentThicknessNotIn(List<BigDecimal> values) {
            addCriterion("sediment_thickness not in", values, "sedimentThickness");
            return (Criteria) this;
        }

        public Criteria andSedimentThicknessBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sediment_thickness between", value1, value2, "sedimentThickness");
            return (Criteria) this;
        }

        public Criteria andSedimentThicknessNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sediment_thickness not between", value1, value2, "sedimentThickness");
            return (Criteria) this;
        }

        public Criteria andDrillingDepthBearingStratumIsNull() {
            addCriterion("drilling_depth_bearing_stratum is null");
            return (Criteria) this;
        }

        public Criteria andDrillingDepthBearingStratumIsNotNull() {
            addCriterion("drilling_depth_bearing_stratum is not null");
            return (Criteria) this;
        }

        public Criteria andDrillingDepthBearingStratumEqualTo(BigDecimal value) {
            addCriterion("drilling_depth_bearing_stratum =", value, "drillingDepthBearingStratum");
            return (Criteria) this;
        }

        public Criteria andDrillingDepthBearingStratumNotEqualTo(BigDecimal value) {
            addCriterion("drilling_depth_bearing_stratum <>", value, "drillingDepthBearingStratum");
            return (Criteria) this;
        }

        public Criteria andDrillingDepthBearingStratumGreaterThan(BigDecimal value) {
            addCriterion("drilling_depth_bearing_stratum >", value, "drillingDepthBearingStratum");
            return (Criteria) this;
        }

        public Criteria andDrillingDepthBearingStratumGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("drilling_depth_bearing_stratum >=", value, "drillingDepthBearingStratum");
            return (Criteria) this;
        }

        public Criteria andDrillingDepthBearingStratumLessThan(BigDecimal value) {
            addCriterion("drilling_depth_bearing_stratum <", value, "drillingDepthBearingStratum");
            return (Criteria) this;
        }

        public Criteria andDrillingDepthBearingStratumLessThanOrEqualTo(BigDecimal value) {
            addCriterion("drilling_depth_bearing_stratum <=", value, "drillingDepthBearingStratum");
            return (Criteria) this;
        }

        public Criteria andDrillingDepthBearingStratumIn(List<BigDecimal> values) {
            addCriterion("drilling_depth_bearing_stratum in", values, "drillingDepthBearingStratum");
            return (Criteria) this;
        }

        public Criteria andDrillingDepthBearingStratumNotIn(List<BigDecimal> values) {
            addCriterion("drilling_depth_bearing_stratum not in", values, "drillingDepthBearingStratum");
            return (Criteria) this;
        }

        public Criteria andDrillingDepthBearingStratumBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("drilling_depth_bearing_stratum between", value1, value2, "drillingDepthBearingStratum");
            return (Criteria) this;
        }

        public Criteria andDrillingDepthBearingStratumNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("drilling_depth_bearing_stratum not between", value1, value2, "drillingDepthBearingStratum");
            return (Criteria) this;
        }

        public Criteria andBearingCoreLengthIsNull() {
            addCriterion("bearing_core_length is null");
            return (Criteria) this;
        }

        public Criteria andBearingCoreLengthIsNotNull() {
            addCriterion("bearing_core_length is not null");
            return (Criteria) this;
        }

        public Criteria andBearingCoreLengthEqualTo(BigDecimal value) {
            addCriterion("bearing_core_length =", value, "bearingCoreLength");
            return (Criteria) this;
        }

        public Criteria andBearingCoreLengthNotEqualTo(BigDecimal value) {
            addCriterion("bearing_core_length <>", value, "bearingCoreLength");
            return (Criteria) this;
        }

        public Criteria andBearingCoreLengthGreaterThan(BigDecimal value) {
            addCriterion("bearing_core_length >", value, "bearingCoreLength");
            return (Criteria) this;
        }

        public Criteria andBearingCoreLengthGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("bearing_core_length >=", value, "bearingCoreLength");
            return (Criteria) this;
        }

        public Criteria andBearingCoreLengthLessThan(BigDecimal value) {
            addCriterion("bearing_core_length <", value, "bearingCoreLength");
            return (Criteria) this;
        }

        public Criteria andBearingCoreLengthLessThanOrEqualTo(BigDecimal value) {
            addCriterion("bearing_core_length <=", value, "bearingCoreLength");
            return (Criteria) this;
        }

        public Criteria andBearingCoreLengthIn(List<BigDecimal> values) {
            addCriterion("bearing_core_length in", values, "bearingCoreLength");
            return (Criteria) this;
        }

        public Criteria andBearingCoreLengthNotIn(List<BigDecimal> values) {
            addCriterion("bearing_core_length not in", values, "bearingCoreLength");
            return (Criteria) this;
        }

        public Criteria andBearingCoreLengthBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bearing_core_length between", value1, value2, "bearingCoreLength");
            return (Criteria) this;
        }

        public Criteria andBearingCoreLengthNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bearing_core_length not between", value1, value2, "bearingCoreLength");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}